/**
 * 
 */
package hu.cubussapiens.client.banking.accounts;

import org.w3c.dom.Element;

import hu.cubussapiens.client.banking.GeneralContants;
import hu.cubussapiens.client.core.query.AbstractQueryGenerator;

/**
 * @author balage
 *
 */
public class ListAccount extends AbstractQueryGenerator {

	/* (non-Javadoc)
	 * @see hu.cubussapiens.client.core.query.AbstractQueryGenerator#generateQuery()
	 */
	@Override
	protected Element generateQuery() {
		return selectObject(
				literal(GeneralContants.PROPERTY_INSTANCEOF), 
				literal(AccountConstants.CLASS_ACCOUNT));
	}

}
